package com.lagou.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@EnableConfigurationProperties(RequestLimit.class)
@ConfigurationProperties(prefix = "requestlimit")
public class RequestLimit {
    private Integer time;
    private Integer count;
}
